6,763 reputation
620
bio website
location
age 35
visits member for 3 years, 2 months
seen 2 days ago

Jul
3
comment Does Grub2 support putting /boot on a RAID5 partition?
You can not use LILO to boot from a raid5 no matter what metadata format you use.
Jul
3
comment Does Grub2 support putting /boot on a RAID5 partition?
@CMCDragonkai, no, nor should you.
May
11
comment umount /home does not work
@sgmart, no, you go to single user mode either by using the 's' option when booting up, or init s or shutdown. Ctrl-alt-F1 just switches to the first text mode virtual terminal. I believe mint, like ubuntu, has the root account locked by default so this is the only way to log in as root ( you can't login as root on a virtual tty when not in single user mode ).
May
11
comment What filesystem metadata operations are actually journaled in ext4 & xfs?
@naelyn, oh yea... good point... might need to ask about that one on the linux-fsdevel mailing list... with hard links I believe you open and sync the directory containing it, maybe symlinks work the same?
May
11
comment What filesystem metadata operations are actually journaled in ext4 & xfs?
@naelyn, an fsync() will flush all blocks related to a file, including a non fast symlink.
May
8
comment Is it useful to setup RAID0 on laptop?
The speeds of the drives are more or less added.. whether that is worth it or not is a matter of opinion.
Apr
30
comment Does tar actually compress files, or just group them together?
Actually an empty file will not consume 1kb. A 1-1023 byte file will.
Apr
22
comment What does exit 99 means?
@mikeserv, properly written scripts use set -e to enable error checking so you don't have to test every exit status yourself. Any program you call that returns non zero will be treated as an error and cause the script to abort. make will also automatically stop the build and report an error if it calls something that returns non zero, again, without you needing to explicitly test the value. In fact, your [ $? -eq 99 ] returns 0 for success and 1 for failure.
Apr
21
comment Large ext4 partition ridiculously slow when writing
@HaukeLaging, you got that backwards; -t flushes the kernel cache and actually measures the disk's real read speed, -T just reads what is already in the kernel cache.
Apr
21
comment What determines the maximum file size in ext2 file system
This limit was also overcome ages ago by the use of a flag in the inode that indicates that the i_blocks value is, in fact, in units of block size rather than 512 bytes. The triple indirect block structure though, can only address just over 4 TiB using a 4k block size.
Apr
18
comment What does exit 99 means?
They know it means failure because that is the convention for exit status: anything other than zero means something went wrong. The specifics of what what went wrong ( and this may be very minor and something you may want to ignore if you know the specifics ) are up to the application.
Apr
17
comment What does exit 99 means?
The shell, and most other tools, including make, treat any non zero exit value as an error.
Apr
17
comment How can I find out about “rootfs”
On debian, /etc/mtab is a symlink to /proc/mounts. Otherwise, you would not see the rootfs at all.
Apr
17
comment What does exit 99 means?
Not quite - 99 is not zero, and so indicates that the program failed for some reason.
Apr
17
comment I can see my LVM but I can't initialize it. Missing UUID of one of the disks
@Dalif, those device names are not stable and can change over a reboot, even if you don't add or remove any drives. Just because you gained an sdd when you added the new disk does not mean that drive is the new disk. Why would you think removing the new disk would change anything? You have unknown device because one of the old disks has been formatted and is no longer recognized.
Apr
15
comment System Halt on REBOOT, Shutdown & Restarts as expected
Ahh, in that case, the kernel may be leaving the device in a state it does not reset properly from.
Apr
14
comment Will a running program be killed if I suspend my OS?
That's kind of the whole point of suspend...
Apr
14
comment System Halt on REBOOT, Shutdown & Restarts as expected
The message indicates that either the card or slot it is in are broken. I don't see how what kernel you use could affect this.
Apr
10
comment Why is writing so slow on raw device, and so fast on filesystem (USB key)?
@Bananguin, your argument is equivalent to getting in a car accident on the way to work, and claiming that working causes car accidents. It may be true that had you not gotten in the car at that time to go to work, you would not have been in that particular accident, but you can not conclude that working causes car accidents. It just so happens that is where you were going when you got in one. Here, it just so happens that the filesystem put the data in part of the disk that is faster than where the OP dd'd to. That doesn't mean that the filesystem magically is faster than dd in general.
Apr
9
comment File has bytes - appears to be empty
Then there you go; it crashed and rebooted before the data hit the disk, so it was lost.