Hi Cal,
I have two hard drives in Linux box, one in ext (120G) and one in fat32 (122G) which has a lot of musics, movies and documents in. Here it goes:
Code:
[root@d865glc ~]# fdisk -l
Disk /dev/hdd: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 7649 61440561 c W95 FAT32 (LBA)
/dev/hdd2 7650 14946 58613152+ c W95 FAT32 (LBA)
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 83 Linux
/dev/sda2 2551 2681 1052257+ 82 Linux swap / Solaris
/dev/sda3 2682 14593 95683140 83 Linux
Code:
[root@d865glc ~]# df -l
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 19840892 6344728 12472024 34% /
tmpfs 507932 0 507932 0% /dev/shm
/dev/sda3 92685620 560176 87341288 1% /home
/dev/hdd1 61320772 35951040 25369732 59% /mnt/movies
/dev/hdd2 58498880 17428068 41070812 30% /mnt/musics
Code:
[root@d865glc ~]# grep user /etc/passwd /etc/group /etc/samba/smbpasswd
/etc/passwd:user:x:500:500:Cuong Kieu Nguyen:/home/user:/bin/bash
/etc/group:power:x:500:user
/etc/samba/smbpasswd:user:500:7F5227FABDB812308915C611551A63D8:F5DDE2FCC128FAF9B5F4CEEFFEF1412F:[U ]:LCT-44A3483C:
Code:
[root@d865glc ~]# ls -l /mnt/musics | head -5
total 23796
drwxrwxrwx 2 user power 4096 Apr 3 20:55 Archive
drwxrwxrwx 2 user power 4096 Mar 31 17:39 Bonus - AcousticMoods
drwxrwxrwx 2 user power 4096 Apr 22 10:42 LamTruong
drwxrwxrwx 4user power 4096 May 17 11:46 Casablanca
....
Code:
[root@d865glc ~]# ls -l /mnt/movies | head -5
total 36
drwxrwxrwx 5 user power 4096 Apr 5 21:06 Docs
-rwxrwxrwx 1 user power 0 Jun 22 14:14 autoexec.bat
-rwxrwxrwx 1 user power 0 Jun 22 14:14 config.sys
drwxrwxrwx 11 user power 4096 Jun 23 07:59 Films
.............
There is no exact reason why I want to keep fat32 type. I know I can copy data to another one, format with ext and copy again although it will take time because I have many many data in that drive. But the important thing is I want to learn. I heard about linux can be the best sharing files and web server so I think I should know how to do. It is easier to share files and folders in XP box, right?
Thanks.
KC.