[techtalk] Mounting CD's and Floppies/Using Control Panel

Cathy James cjames at opensite.com
Wed Dec 22 08:43:32 EST 1999


The simplest way to read/write a DOS floppy
is with the mtools package.  There are a
set of commands such as mdir, mcopy, etc.
that mimick the behavior of the equivalent
DOS commands.  I've found this to be
simpler than messing around trying to
mount floppies with mount.

>-----Original Message-----
>From: Laurel Fan [mailto:lf25+ at andrew.cmu.edu]
>Sent: Wednesday, December 22, 1999 1:03 AM
>To: techtalk at linuxchix.org
>Subject: Re: [techtalk] Mounting CD's and Floppies/Using Control Panel
>
>
>Excerpts from linuxchix: 21-Dec-99 Re: [techtalk] Mounting CD'.. by
>GJS at yahoo.com 
>> The CD line in fstab is actually /dev/cdrom  /mnt/cdrom  
>> iso9660 etc. I can only blame my bad typing and aging eyes.
>
>It'd probably be easier and less error prone to cut and paste (do you
>know how?)
>  
>> Unfortunately, since I still can't figure out how to
>> give my user account write privileges, I can look but not touch.
>
>For ext2, just give it permissions the normal way, by chmoding the
>files. (and make sure you/it has permissions on the /mnt/whatever dir,
>of course.)
>
>For vfat/msdos, use either the uid or umask options.  Since these
>filesystems don't have permissions, these options tell mount 
>what to set
>them to.  
>
>umask=111
>
>will tell it to create files with permissions -rw-rw-rw-
>
>uid=1000
>
>tells it to create files with owner as my user, which happens to have a
>uid of 1000.  You'll have to use the numeric uids, it doesnt like
>usernames.
>
>More details about this in the mount manpage in the section "Mount
>options for fat".
>
>> And a solution to part two of my problem (why I can't use the
>> control panel tools even after I su from a command line in a
>> Wterm) still eludes me.
>
>(Are you starting the control panel tools from a menu in x or something
>(ie. not by typing a command in the Wterm where you're root?)) Any
>program started by another program (such as a shell) is usually run as
>the same user as the parent program.  So you start X as your 
>user, which
>starts the windowmanager as your user, then when you, for 
>example, click
>on the control panel, it starts the control panel as your user.  The su
>command doesn't turn you into root, it just starts a new shell 
>where you
>are root (su stands for SuperUser (or maybe SUperuser), not Switch
>User).  So, try typing printtool or whatever in your su'ed wterm.
>  
>
>************
>techtalk at linuxchix.org   http://www.linuxchix.org
>

************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list