Ok, now it's more clear as regards chmod.

I didn't read as well as I did just before.

I'm actually trying to mount my pendrive, always without results.
Maybe I'll give up soon. It seems something impossible. O_O

My last attempt was to do chmod a+rw /dev/sda* on my host..
Infact, now these are /dev/sda* right access:

# ls -l /dev/sda*
brw-rw-rw- 1 root disk 8, 0 Nov 10 22:56 /dev/sda
brw-rw-rw- 1 root disk 8, 1 Nov 10 22:56 /dev/sda1

But now, adding "ubdc1=/dev/sda1" (Jeff said to associate with ubdc1,
as I did understand correctly) to kernel command line I can't get
something positive.

Attempting to mount my pen-drive on the guest system I'm giving the same result:
~# mount -t vfat /dev/ubdc1 /mnt/pendrive/
mount: /dev/ubdc1 is not a valid block device

I don't know now, if it's really possible!!!!!

Flavio.


2006/11/10, Brock, Anthony - NET <[EMAIL PROTECTED]>:
> > -----Original Message-----
> > Thank you Tony,
> >
> > but the only thing I don't understand is the "a" parameter. I know
> > what +rw parameter is for.
> >
> >
> > Is it possible that "mounting a pen drive in a UML instance" is so
> > difficult??? Aren't there some standard procedures to make it
> > possible??? I don't believe it's so hard to mount a pen drive!!!
>
> Flavio,
>
> This isn't hard. I've done something similar on several machines and
> offered you some ideas on how I solved the problem. However, you didn't
> want to try my suggestions. This is fine, but it leaves the onus on you
> for discovering a method you like.
>
> We've given you enough information to do this. Now, you need to take
> some initiative and do some research. For example, the "a" parameter is
> described in the chmod manual. This is why I suggested that you read it.
> The manual on my machine states:
>
>
> "A combination of the letters `ugoa' controls which users' access to the
> file will be  changed:  the  user  who owns  it  (u), other users in the
> file's group (g), other users not in the file's group (o), or all users
> (a). If none of these are given, the effect is as if `a' were given, but
> bits that are set in  the  umask  are  not affected."
>
>
> At this point, the discussion isn't around UML. Its about UNIX
> permissions and how the OS enforces security. Once you understand this,
> resolving the UML issue will be self-evident. Put simply, a UML guest
> CANNOT access something on the host unless it has the proper
> permissions.
>
> Good luck,
>
> Tony
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to