Posts Tagged With: partition

Shows all Partitions

Tagged with: , , , , ,

Shows all partitions on the HDD


fdisk -l
No Comments »

Exclude Removable Partitions from a ‘find’ Search

Tagged with: , , , , ,

Search files with ‘.rpm’ extension ignoring removable partitions as cdrom, pen-drive, etc.


find / -xdev -name \*.rpm
No Comments »

See Mounted File Systems

Tagged with: , , , , , ,

Shows all mounted file systems in Linux


cat /proc/mounts
No Comments »

Mount Windows Partion

Tagged with: , , , , , ,

Mount a Windows FAT partition. If it is an NTFS partion, use ‘ntfs’ instead of ‘fat’. Make sure that the kernel support ntfs if you want to do that.


mount -t vfat /dev/hda5 /mnt/d
No Comments »

Find All Connected Harddisks

Tagged with: , , , , , , ,

<p class=”intro”>If you have many IDE harddisks connected to the system(but not mounted), this command will find it. This will work for sata HDD as well if you use ’sd’ instead of ‘hd’</p>

<pre><code class=”cli”>
ls /dev/hd*
</code></pre>

<p>Simple, is it not? To find the mounted drives just use the command ‘dh’.</p>

[tags]hda,harddisk,ide,sata,linux,command,hdd,partition[/tags]

No Comments »