Re: mount / umount

From: Fabrizio Parrella <fabrizio_at_nldesign.com>
Date: Thu, 8 Jan 2004 13:45:24 -0500
ok, in my case I did this:

> su
Password:
# cd /dev
# link fd0 floppy
link: floppy: Operation not supported

I think with perm you mean chmod... sorry, not a lot FreeBSD (and english :-p) 
letterate!!

fabry

On Wednesday 07 January 2004 01:19 pm, Kevin Oberman wrote:
> > From: Fabrizio Parrella <fabrizio_at_nldesign.com>
> > Date: Wed, 7 Jan 2004 09:55:42 -0500
> > Sender: owner-freebsd-current_at_freebsd.org
> >
> > tried that too:
> >
> > devfs ruleset 10
> > devfs rule add path "fd0*" group wheel mode 666
> > devfs rule add path "apm" group wheel mode 666  (I tried also without
> > this line)
> > devfs rule applyset
> >
> > and after the reboot.. nothing :-(
> >
> > fabry
> >
> > On Wednesday 07 January 2004 09:47 am, Ryan Sommers wrote:
> > > On Wed, 2004-01-07 at 08:38, Fabrizio Parrella wrote:
> > > > If I try to mount the floppy when I am root, everything works fine!!
> > > >
> > > > I tried to chmod 766 /dev/fd* , but as soon as I reboot I have the
> > > > problem again.
> > > >
> > > > I have notice now that I cannot use also the /dev/apm when I am not
> > > > the root, but I can use /dev/dsp.
>
> Fabrizio,
>
> I think you are working a bit too hard. I had similar problems and
> discovered that, for this sort of simple action with no jail involvement,
> the format should be much simpler.
>
> link cd0	cdrom
> link cd0	dvd
> link ttyd0	pilot
> perm cd0	0666
> perm acd0	0666
> perm pass0	0666
> perm ttyd0	0666
>
> This will create symlinks from /dev/dvd and /dev/cdrom to /dev/cd0 (use
> acd0 if you don't use atapicam) and a symlink for /dev/piolot to the
> COM0 port.
>
> It also changes the protections on the cd0, acd0, and pass0 devices to
> global read/write.
>
> I think you can see what you need for your floppy. Probably:
> perm fd0    0666
> perm apm    0666 (I'm not sure that you need this.)
Received on Thu Jan 08 2004 - 09:47:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:37 UTC