[redhat-lspp] cannot mount filesystem with category list in context
Thiago Jung Bauermann
bauerman at br.ibm.com
Thu Oct 19 02:47:00 UTC 2006
Hi,
I was playing with mounting filesystems specifying a context to the
mount command, and came across this limitation:
# mount -o loop,context=root:object_r:root_t:s0:c1,c4 foo /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
On the other hand, this works:
# mount -o loop,context=root:object_r:root_t:s0:c1.c4 foo /mnt
#
The "c1,c4" part of the context in the 1st command above is probably
being misinterpeted by the mount command, which uses comma to separate
options. Thus, it must be seeing a separate "c4" option to the
filesystem which is false. Is there a way to work around this?
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center
More information about the redhat-lspp
mailing list