You are not logged in.
Pages: 1
deleted
Last edited by Misbah (2012-02-14 05:39:36)
Offline
JFS doesn't automagically call fsck if needed when booting (except, IMX, root). In the case of the fstab shown above, the first time your system crashes, when you reboot, /home, /tmp, /usr, and /var won't mount. You'll have to fsck and then mount them manually. Kindof ugly.
fsck.jfs runs really fast anyway.
Sorry, non spreigin zee deutsche here (as this sentence should prove well).
Offline
Do you guys check file systems each boot? Arch came default that way, and I was just in fstab and reading about it in the wiki, because I was trying to figure out what the noatime and nodiratime options do before I put them in there. I noticed I have all file systems being checked (aside from swap ofcourse)
/dev/sda1 /boot ext2 defaults,noatime 0 1 /dev/sda2 / jfs defaults,noatime,nodiratime 0 1 /dev/sda3 /home jfs defaults,noatime,nodiratime 0 2 /dev/sda5 /tmp jfs defaults,noatime,nodiratime 0 2 /dev/sda6 /usr jfs defaults,noatime,nodiratime 0 2 /dev/sda7 /var reiserfs defaults,noatime,nodiratime 0 2 /dev/sda8 swap swap defaults 0 0
I'm sure boot time would decrease if I changed them all to 0 0. But is that considered not a good practice/habit? Are there drawbacks to this?
Don't remove your fsck. As was indicated, jfs fscks are very, very fast, and you are not fscking on every boot, only when needed.
Offline
deleted
Last edited by Misbah (2012-02-14 05:35:36)
Offline
??
I've never had any problem with running thunar-volman + hal without desktop icons...it just shows up in the sidebar. Also, I *think* all hal does for removable media is make a /media/<media name> directory with permissions set for the logged in user. Thunar-volman would then just detect those changes and 1) add an icon to xfdesktop if applicable and 2) add it to the sidebar.
This is my understanding, at least.
Stop looking at my signature. It betrays your nature.
Offline
hal is independent of desktop icons, as it is rather low-level compared to that.
Your DE (or file manager for instance, if you are not using a DE, in favor of a WM) provides your icons.
Try it with and without hal, and stick with what you like. I personally like hal to handle that stuff.
hal mounts to /media/ btw, so if you're using ROX, just navigate there. Should be fine.
I use any number of DE's/WM's and hal works fine with all of em.
Offline
deleted
Last edited by Misbah (2012-02-14 05:35:21)
Offline
Don't remove your fsck. As was indicated, jfs fscks are very, very fast, and you are not fscking on every boot, only when needed.
Really? My system does (and always has when using JFS). Admittedly, it's so fast I don't care, but I do get almost a screen-full of fsck's, including a full replay of each journal, at every boot, using this fstab ('m1' is my LVM VG, of course, and yes I realise my fsck "numbering scheme" is anal, but then so am I...):
#
# /etc/fstab: static file system information
## <file system> <dir> <type> <options-dump-pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0/dev/m1/rt / jfs defaults,noatime,nodiratime 0 2
/dev/m1/sw swap swap defaults 0 0
/dev/sda1 /boot ext2 defaults,noatime,nodiratime 0 1
/dev/m1/vr /var jfs defaults,noatime,nodiratime 0 3
/dev/m1/hm /home jfs defaults,noatime,nodiratime 0 3/dev/sda6 /var/cache/pacman ext2 defaults,noatime,nodiratime 0 4
/dev/sda7 /mnt/a7 jfs defaults,noatime,nodiratime 0 5
/dev/sda8 /mnt/a8 jfs defaults,noatime,nodiratime 0 5#/dev/cdrom /mnt/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /mnt/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /mnt/fl vfat user,noauto 0 0
Offline
deleted
Last edited by Misbah (2012-02-14 05:34:53)
Offline
The sixth field, (fs_passno), is used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time. The root filesystem should be specified with a fs_passno of 1, and other filesystems should have a fs_passno of 2. Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. If the sixth field is not present or zero, a value of zero is returned and fsck will assume that the filesystem does not need to be checked.
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Thanks. I guess I didn't RTFM close enough. I changed fstab, set root and /boot to 1, the others to 2. Haven't even rebooted yet, but I've never really seen an fstab like mine, either.
FWIW, #'s above 2 apparently DO work, documented or otherwise...
Offline
1 enables a check while 0 disables, and the rest of the partitions should follow on from 2 depending on priority. Normally, if there are partitions in the same disk with the same number, they will be checked in sequence. That may not be what you want, so you can set your own priorities by assigning different numbers.
/dev/sda1 /boot ext2 defaults,noatime 0 2
/dev/sda2 /media/DATA jfs defaults,relatime,iocharset=utf8 0 3
/dev/sda4 /usr jfs defaults,relatime,iocharset=utf8 0 4
/dev/sda5 swap swap sw,pri=1 0 0
/dev/sda6 / jfs defaults,relatime,iocharset=utf8 0 1
/dev/sda7 /tmp jfs defaults,noatime,iocharset=utf8 0 5
Last edited by schivmeister (2008-04-03 11:34:48)
I need real, proper pen and paper for this.
Offline
Pages: 1