Hi
In fact making the ext4 file system you can add the name;
Code:
fdisk /dev/sdc
Welcome to fdisk (util-linux 2.21.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p): p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-8015501, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-8015501, default 8015501):
Using default value 8015501
Partition 1 of type Linux and of size 3.8 GiB is set
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
mkfs.ext4 -L BLAH /dev/sdc1
mke2fs 1.42.6 (21-Sep-2012)
Filesystem label=BLAH
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
250480 inodes, 1001681 blocks
50084 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1027604480
31 block groups
32768 blocks per group, 32768 fragments per group
8080 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
lsblk /dev/sdc
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdc 8:32 1 3.8G 0 disk
└─sdc1 8:33 1 3.8G 0 part /run/media/<username>/BLAH
Bookmarks