[brlug-general] Best way to use hdb1?
Joe Fruchey
jfruchey at gmail.com
Wed Mar 28 07:38:24 CST 2007
Nice. Thanks for the info.
On 3/27/07, willhill <williamhill2 at cox.net> wrote:
>
> I like ext3.
>
> If you really want to share this big new drive, just mount it as
> /home. You
> can take the old home and make it your own private storage, after you copy
> everyone's home directory to the new drive.
>
> If you want a place where people can all read and write the same files,
> you
> might look into groups and premissions, like this:
>
> http://aplawrence.com/Basics/perms.html
>
> "The "s" bit on the group set of a directory (e.g. rwxr-srx) causes new
> files
> created in that directory to have the same group ownership as the
> directory
> rather than the group id of the user or process creating the file."
>
> So you make your friends members of various project groups and give each
> project that group ownership.
>
> On the other hand, you might just want the archive for yourself. Here's
> how I
> did that for a nice little scsi drive:
>
> willhill at hesiod:~$ cat /etc/fstab
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> /dev/hda1 / ext3 defaults,errors=remount-ro 0
> 1
> /dev/sda1 /usr ext3 defaults,errors=remount-ro 0
> 1
> /dev/hda3 /home ext3 defaults 0 2
> /dev/sda2 /home/willhill/fast ext3 defaults 0 2
> /dev/hda2 none swap sw 0 0
> /dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
> willhill at hesiod:~$ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda1 2.8G 2.3G 369M 87% /
> udev 253M 104K 253M 1% /dev
> devshm 253M 0 253M 0% /dev/shm
> /dev/sda1 3.7G 1.7G 1.8G 49% /usr
> /dev/hda3 16G 11G 4.0G 73% /home
> /dev/sda2 14G 8.3G 4.2G 67% /home/willhill/fast
>
> The directory /home/willhill/fast is owned by willhill and so is sda2 when
> the
> system mounts it.
>
> On Monday 26 March 2007 1:46 pm, Joe Fruchey wrote:
> > This is the first time I've ever dabbled with multiple drives in Linux,
> and
> > I don't know what to do. Where should I mount it? If I mount it as a
> > subdirectory of my home, then it's mine. What if someone else wants to
> use
> > it? I thought about something like /var/storage, and I did that, but
> then I
> > had permission problems (because root mounted it, so root owned it). If
> I
> > tried to 777 it, it only went to 755. I couldn't chown or chgrp it
> either.
> > I thought reformatting the drive as vfat might solve the permission
> issues,
> > but it did not.
> >
> > sudo chown joe /var/storage
> > operation not permitted.
> >
> > sudo chown joe ~/hdb1
> > operation not permitted.
> >
> > So what do I do? What filesystem should I use?
> >
> > And yes, for future use, I'll throw an entry in fstab, I was just using
> > mount for now.
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/general_brlug.net/attachments/20070328/9405ecc0/attachment.html
More information about the General
mailing list