Originally Posted by actinide
I've been trying to delete a folder on a seagate external harddrive by formatting
it but every time I go back in it's still there. I've tried sending it to the
trash bin but file permissions are blanked out. Can anybody help.
how exactly are you trying to format the drive? is the drive mounted, are you using fdisk, etc...
typically you would want to perform the following tasks:
1. verify if this device has any software that puts it to sleep like 90%+ of WD and SanDisk external drives do. If so plug the device into a MS Windows computer, run their software and tell it to never go to sleep.
2. plug the device into your system while running as root:
# tail -f /var/log/messages
you are watching for /dev/sdX# were X is a lower case letter typically b or c or d, etc... and the # is a number typically 1.
3. verify that the device is NOT automagically mounted via your GUI:
***note*** this can be performed as user or root, but as the rest of the steps require root, just stay root for this too.
4. if mounted umount the device. this is a MUST. if you fail this step you will never be able to change the partition scheme nor format the drive.
5. fdisk the device and set it to ext type file system:
# fdisk /dev/sdX#
d <hit enter>
***note*** if prompted for more then one partition you will have to delete them all
<hit enter for default answer>
n <hit enter>
p for primary
***note*** if you want more then one partition then this will also need to be repeated and you will need to tell fdisk how large each partition will need to be otherwise just hit enter until back to prompt
1 for one partition then hit enter until back to prompt
w to write and quit fdisk
# mkfs.ext4 /dev/sdX1
to test and verify, create a mount point and mount the device:
# mkdir /mnt/FOO
# mount /dev/sdX1 /mnt/FOO
# df -Th
if you see it there you have mounted the drive and can now ls -laF to view the details on that drive.