Re: How to mount a partition as root and make it world read-write?

From: VJ (vj_at_vijaygill.homelinux.net)
Date: 11/16/04

  • Next message: Paul Howarth: "Re: How to mount a partition as root and make it world read-write?"
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    Date: Tue, 16 Nov 2004 12:42:07 -0000
    
    

    ----- Original Message -----
    From: "Rodolfo Alcázar" <rodolfo.alcazar@padep.org.bo>
    To: "For users of Fedora Core releases" <fedora-list@redhat.com>
    Sent: Tuesday, November 16, 2004 12:21 PM
    Subject: Re: How to mount a partition as root and make it world read-write?

    > El mar, 16-11-2004 a las 12:07 +0000, VJ escribió:
    >
    > > Hi,
    > > I read man mount and tried various options but could not do what I
    need.
    > > I want to mount /dev/hdh3 as /tmp. /dev/hdh3 is ext2 formatted
    partition.
    > > Also I want to make it have permissions of 777 so that all programs run
    by
    > > all users and daemons (under any login) can access it. Kindly tell me
    what
    > > options will go into fstab.
    >
    > 1) /tmp is a system dir. Create a directory of your own, or you could
    > lose information. Do not use /tmp!
    >
    > 2) I believe you should try umask=000, I think this is a reverse mask,
    > say 027 will give you rwxr-x--- permissions. Just try, I didn't.
    > Example, if your userid is 500 and your groupid:
    >
    > /dev/hda3 /mytmp ext2 auto,uid=500,gid=100,umask=027 0
    >
    > good luck.
    > --
    > Rodolfo Alcázar (rodolfo.alcazar@padep.org.bo)
    > Administrador datos y red - Padep/GTZ
    > La Paz, Bolivia
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >

    I want this to move my /tmp to another partition to make use of an un-used
    partition(small one). I know it will break things if I just do it blindly. I
    want this partition to be mounted during boot so that all daemons/programs
    by other uses use this partion as /tmp.

    Your method of using uid=??? is not supported by options for ext2 (see man
    page and also try doing it practically) See below

    ***********************************************
    [root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0,gid=0,umask=000
    mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
           or too many mounted file systems
    [root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0,gid=0
    mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
           or too many mounted file systems
    [root@dxr ~]# mount /dev/hdh3 /t -o noatime,uid=0
    mount: wrong fs type, bad option, bad superblock on /dev/hdh3,
           or too many mounted file systems
    [root@dxr ~]# mount /dev/hdh3 /t -o noatime

    ***********************************************
    The last command actually mounted it, and did not complain. so clearly those
    extra options are not supported.

    Regards from VJ

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul Howarth: "Re: How to mount a partition as root and make it world read-write?"

    Relevant Pages

    • /home not mounting during bootup (stable, ppc)
      ... My /home partition is ... However on bootup I get the following error when it tries to mount the ... The superblock could not be read or does not describe a correct ext2 ...
      (Debian-User)
    • Re: Problem with random disks mount sequence
      ... I'll get random mount sequences. ... At the beginning the USB ... nautilus remember that 'storage3' was 1st partition, ... SCSI drives are listed by order of discovery. ...
      (Fedora)
    • Re: Relabel partition didnt work
      ... > You're confusing disk lables with mount points. ... > When installing etch, at some point partman asked for a mount point for ... > that partition and I entered /xyz. ... There's nothing to do to the second hard disk. ...
      (Debian-User)
    • Re: R/W access of a vfat partition by any user ?
      ... FAT32 partition will be writable by any user instead of just root. ... users Allow every user to mount and unmount the file system. ... The 'umask=022' makes all files and directories have rwxr-xr-x permissions. ... If you want different perms and you don't speak binary, ...
      (alt.os.linux.suse)
    • Re: Newbie: Accessing Windows filesystem in Fedora Core 4
      ... As with mounting your Win2000 partition to get access to it, ... Firstly it would be better to mount it manually and then if things work ... Use the mount command to mount the win2000 partition in /mnt/win2000 ...
      (linux.redhat.install)