Saturday, January 26, 2013

How do you determine what Linux file system your using?

Q. When you log onto a Linux system and get to the command prompt, how can you determine which of the many file systems supported in Linux you are using? Is there a command that will identify it?

A. Use fsck with the N option which just show what would have been done, but also show you what type of filesystem it is.

fsck -N /dev/(device-name)

e.g.

fsck -N /dev/hdc2

The 'mount' command wont help if the filesystem isn't mounted, and looking in /etc/fstab wont help because you cant be sure that information can be trusted.

Linux - File system structure between different distros?
Q. I have been reading about Linux distros and I am lost in that kind of "flavors".
Would someone help me understand the main differences in the file system structure in Fedora and how this is compared with the file system structure in Debian?

A. From an end-user perspective there really isn't much difference. Mostly the file system structure (do you mean layout?) is the same. For example, standard programs live in one or more of /bin, /sbin, /usr/bin, /usr/sbin, and custom applications live in /usr/local/bin (but you don't need to worry about any of that, as the PATH variable manages finding them).

Debian-derived distributions provide for some configuration within the directory /etc/default/, and network interfaces are either configured in the file /etc/network/interfaces or by Network Manager.

RedHat-derived distributions (including Fedora) mostly use /etc/sysconfig/ for configuration files, and network interfaces are configured in separate files (one per interfaces) underneath /etc/sysconfig/interfaces/ or by Network Manager

Unless you're getting into writing portable installation scripts that's about as far as you really need to go.

How to Install Red Hat Linux Desktop version 4?
Q. I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S?
Like in windows, we have NTFS file system(which has very security features).
Is there any such file system in Linux?
Which file system should i use?

A. Put the CD in the drive, restart the computer and follow the directions. Take the defaults - they're the best choices for a beginner.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment