* Petter Reinholdtsen <p...@hungry.com> [100224 13:02]: > [Bart Trojanowski] > > I am running on a SheevaPlug. I installed Debian on a UBIFS > > filesystem. This filesystem does not require/have fsck. That > > wouldn't be so bad if checkroot.sh didn't forcefully create a > > /dev/root and try to fsck it. > > Does it not work to specify in /etc/fstab that the file system should > not be checked?
This chunk (copied from checkroot.sh) completely ignores that: # See if we're on AC Power. If not, we're not gonna run our # check. If on_ac_power (in /usr/) is unavailable, behave as # before and check all file systems needing it. # Disabled AC power check until fsck can be told to only check the # file system if it is corrupt when running on battery. (bug #526398) # if which on_ac_power >/dev/null 2>&1 && [ "$rootcheck" = yes ] # then # on_ac_power >/dev/null 2>&1 # if [ "$?" -eq 1 ] # then # log_warning_msg "On battery power, so skipping file system check." # rootcheck=no # fi # fi rootcheck=yes Note the last line just sets rootcheck to yes. I just added this line: ( [ "$roottype" = "ubifs" ] ) && rootcheck=no as the next line. > If no fsck is available for ubifs, which program is used to do the > fsck-ing? I thought fsck used fsck.$type to do the actual fsck > operation. You're right, I think I jumped the gun here. The access is coming later. I'll have to figure out where, and open a better bug. -Bart -- WebSig: http://www.jukie.net/~bart/sig/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org