I will buy an external HDD.
Is ext4 the best file system to use?
I will buy an external HDD.
Is ext4 the best file system to use?
If you intend only to use it with Linux, then yes. If you want to be able to use it with Windows systems as well, you'll need to format it with FAT32 or NTFS. FAT32 has a maximum file size of 4 GB, if that matters.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
It will be used only with my computers. If I need to send files to a Windows PC, the data will never be more than... 2GB.
Can I disable all permissions in an ext4 partition?
I want to connect and disconnect the HDD like a USB flash drive without any additional effort.
If the users and groups on the various machines are identical (e.g., user chris has UID 1000, tina has 1001, etc.), then you can move the drive among machines and preserve permissions. You can do this by using a common /etc/passwd and /etc/group file on all the machines.
It's easiest if you're going to be the only user. In that case, just plug the drive in after you log in, and it will be mounted as /media/username/something with your permissions.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
In that case, format it FAT32 or NTFS -- since both Windows and Linux can read/write both filesystems.If I need to send files to a Windows PC,
Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
Will not respond to PM requests for support -- use the forums.
I would take the word "send" figuratively, not literally in the network sense, as the OP did not mention file sharing. If the OP means "share over the network" then clarification would help.
Otherwise, I'd use NTFS. Well supported in every OS. ext4 is not.
The external hard drive does not need to support Windows, because I can use USB flash drive to transfer files between my PCs and Windows PCs.
My problem is the annoying permissions. The users will be different. I want to use the device without root. The use should be easy and simple.
Is btrfs good? It is new, I have never used it.
Use ext4. Right after you create the ext4 partition, use a root shell and change the permissions to 777:
This gives read-write permissions to all types of users (yourself, your groups, and "others").Code:sudo chmod -R 777 /media/ubuntu/YOUR-EXT4-PARTITION-NAME
Then you will never have permissions issues again.
Bookmarks