Quote:
Originally Posted by GRS63
What I am trying to find out is how
1. how do I find and remove the partitions that are on the drive
2. how do I reformat the full drive for the ext3 file system
3. how do I set teh permissions so the user and read and write to it
|
$ cat /proc/partitions
And other options.
# sfdisk -l
# cfdisk -l
Basically they list what you have. 200MB is likely one partition of many.
# cfdisk /dev/sda
(or whatever name / location suits that drive)
Should allow you to delete what's there and allocate something else.
# mkfs.ext3 /dev/sda1
Creates a new filesystem on the /dev/sda1 partition. Change filesystem and device name where appropriate.
# mount -t ext3 /dev/sda1 /mnt/sda1
# mkdir /mnt/sda1/new_partition
# chown owner:group /mnt/sda1/new_partition
Change /etc/fstab to have defaults,user,noauto and whatever other options you want for that device.
# umount /dev/sda1
You cannot change the root partition to user perms on ext3, so they'll always have to work out of a modified directory with appropriate permissions. If it's just one user, you can use user:user on chown. Otherwise use an owner and group that meets your lowest common denominator among users. Or create a new group and put all users in it. Many means to an end.