PDA

View Full Version : Mounting home with optin "dev" instead of "no



neitzel
07-13-2003, 02:57 PM
Hi!

I am just wondering what the best way could be to get the home directory mounted with "dev" Option.

I am using Knoppix with home=/dev/hda4 where hda4 holds an ext3 filesystem. The device is mounted with option "nodev" by default and I don't know, where I can change it.
(I want to do some remastering with Knoppix, so it would be nice to have "dev" option set!)

I looked inside the knoppix-autoconfig, but I couldn't see, what would be the best way for it. One thing I am thinking about is adding a small part there:
When a Home is set, then the type is also checked. If the type is ntfs or fat, then something is done. I could build up a check there (eg. "*[Ee][Xx][Tt][3]*)") and do a umount and a new mount with my parameters.

It would be nice, if you could tell me, what your ideas are. Maybe there is a much better, easier way to do this?

Thank you in advance for your ideas.

With kind regards,

Konrad

neitzel
07-16-2003, 06:44 PM
I found the simplest solution now:

All I had to do is a simple mount -o remount,dev /dev/hda4 /mnt/hda4 !!!

And then I had to use chroot /mnt/hda4/knoppix/.... instead of chroot /home/knoppix/knoppix/....

Maybe this is something for the remastering faq?

With kind regards,


Konrad