You are not logged in.

#1 2010-07-31 08:55:36

ugaciaka
Member
From: Italy
Registered: 2008-07-06
Posts: 140
Website

rc.sysinit and btrfs: not show partition during the boot

Hi,

I see, during the boot, that show only partition NOT in btrfs...

e.g i have two partitions: /dev/sda1 for / in ext4 and /dev/sda3 for /home in btrfs

during the boot I see only /dev/sda1 clean but I don't see /dev/sda3...

But partition mounted correctly.

This my fstab

/dev/sda1 / ext4 defaults,relatime,commit=10 0 1 
/dev/sda3 /home btrfs defaults,relatime 0 2

/dev/sda2 swap swap defaults 0 0

I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi

Offline

#2 2010-07-31 14:29:24

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: rc.sysinit and btrfs: not show partition during the boot

btrfs's fsck prog doesn't use the same name scheme as every other fsck prog (fsck.FSNAME). I don't know if renaming /sbin/btrfsck would be lethal to other btrfs utilities, so a symlink takes care of it:

# ln -s /sbin/{btrfsck,fsck.btrfs}

Offline

#3 2010-08-02 16:43:32

ugaciaka
Member
From: Italy
Registered: 2008-07-06
Posts: 140
Website

Re: rc.sysinit and btrfs: not show partition during the boot

falconindy wrote:

btrfs's fsck prog doesn't use the same name scheme as every other fsck prog (fsck.FSNAME). I don't know if renaming /sbin/btrfsck would be lethal to other btrfs utilities, so a symlink takes care of it:

# ln -s /sbin/{btrfsck,fsck.btrfs}

uhm...thank's...

I'll try later, now I have experimented with udev, hal, usb device, xfce, default mount options


I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi

Offline

#4 2010-08-03 17:42:45

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,000
Website

Re: rc.sysinit and btrfs: not show partition during the boot

falconindy wrote:

btrfs's fsck prog doesn't use the same name scheme as every other fsck prog (fsck.FSNAME). I don't know if renaming /sbin/btrfsck would be lethal to other btrfs utilities, so a symlink takes care of it:

# ln -s /sbin/{btrfsck,fsck.btrfs}

that's odd.  I wonder why they do it like that.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#5 2010-08-03 19:49:44

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: rc.sysinit and btrfs: not show partition during the boot

Note that now that I've actually rebooted and tested, this doesn't work. btrfsck doesn't accept the standard arguments that every other fsck utility does. Weird.

Offline

Board footer

Powered by FluxBB