[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching /etc/mtab to /proc/mounts and removing /lib/init/rw



On 20.01.2012 14:21, Roger Leigh wrote:
> On Fri, Jan 20, 2012 at 01:19:00PM +0400, Michael Tokarev wrote:
>> The "problem" is that kernel does not know what /dev/mapper
>> is, or what does /dev/r/usr thing mean.  It knows these by
>> their canonical (and meaningless) dm-N names, like this:
>>
>> [    6.887981] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
>> [    6.917555] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: usrquota
>>
>> Go figure which is dm-0 and which is dm-1 (lvm is here)!
>>
>> My point is that actually, _both_ /dev/mapper/r-usr and
>> /dev/r/usr are wrong!  But at least they - hopefully -
>> lead to the actual device, unlike kernel messages I
>> mentioned above which leads to nothing due to /dev/dm-0
>> non-existing.
> 
> At least on my system (udev), they certainly do exist, for example:
> 
> % ls -l /dev/mapper/ravenclaw-root
> lrwxrwxrwx 1 root root 7 Jan 20 09:01 /dev/mapper/ravenclaw-root -> ../dm-0

Aha.  I was looking at squeeze version where they didnt.

So Goswin, instead of getting a more preferred for him /dev/r/usr,
will get /dev/dm-1 ;)

Thanks,

/mjt


Reply to: