How about the dirty trick of instead of having
/dev/sdc1 /media/usb auto rw,user,noauto 0 0
/dev/sdc1 /etch32/media/usb auto rw,user,noauto 0 0
and make /media a symbolic link to /etch32/media/usb
This should work.
Þann Miðvikudagur 4. janúar 2006 22:28 skrifaði Koen Vermeer:
> On Wed, 2006-01-04 at 20:07 +0100, Gudjon I. Gudjonsson wrote:
> > Hi
> > If you do
> > mkdir /var/chroot/sid-sarge-etch/media/Kingston
> > cd /media
> > rmdir Kingston
> > ln -s /var/chroot/sid-sarge-etch/media/Kingston .
> > and then insert your USB-stick, it should be visible in both places.
> > I just tried it and it seems to work for me. Please post it if it works.
> It works in that I can see the contents in the normal system and the
> chroot. But now the filenames aren't consistent anymore. My chroot is
> in /etch32. In /media, I now have
> lrwxrwxrwx 1 root root 22 2006-01-04 21:17 Kingston
> -> /etch32/media/Kingston
> If I open a document by double-clicking on it, I get the error
> '/etch32/media/Kingston/filename.ext does not exist'. So, from within
> the 64 bit system, the filename points to the chroot. Ofcourse, from the
> chroot, /etch32 does not exist, and so the file isn't found. Still some
> more work to do, I guess...
- Re: USB
- From: Koen Vermeer <email@example.com>