Comments (6)
Yeah I also think it needs to be done per filesystem:
Fileystem | package | set label | show label |
---|---|---|---|
ext2/ext3/ext4 | e2fsprogs | sudo e2label /dev/sda1 NEUES_LABEL sudo tune2fs -L NEUES_LABEL /dev/sda1 | sudo e2label /dev/sda1 sudo tune2fs -l /dev/sda1 |
ReiserFS | reiserfsprogs | sudo reiserfstune -l NEUES_LABEL /dev/sda1 | sudo debugreiserfs |
JFS | jfsutils | sudo jfs_tune -L NEUES_LABEL /dev/sda1 | sudo jfs_tune -l |
XFS | xfsprogs | xfs_admin -L NEUES_LABEL /dev/sda1 | xfs_admin -l |
FAT | dosfstools | sudo fatlabel /dev/sdb1 NEUES_LABEL | sudo fatlabel /dev/sdb1 |
FAT | mtools | sudo mlabel -i /dev/sdb1 ::NEUES_LABEL | sudo mlabel -i /dev/sdb1 -s :: |
NTFS | ntfs-3g (ab Ubuntu 11.10) | sudo ntfslabel /dev/sdb1 NEUES_LABEL | sudo ntfslabel /dev/sdb1 |
Swap | util-linux | sudo swaplabel -L NEUES_LABEL /dev/sda1 | sudo swaplabel /dev/sda1 |
from disko.
I'll implement this as soon as #27 is merged
from disko.
I think #27 also add create options for mkfs to make this feasible.
from disko.
@Mic92 I dont think you can use mkfs to label a partition, but I might be wrong on that.
EDIT: From what ive seen you need to either do it when you create the partition or using other tools such as e2label.
from disko.
According to #30 (comment), a workaround for disk labeling is to use a GPT table and set the label as part-type
.
from disko.
This was done in #31
from disko.
Related Issues (20)
- `disko` is always formatting HOT 6
- Failed to create partition on `msdos` table HOT 3
- make zfs type more flexible to allow arbitrary vdev options HOT 4
- Rootfs mount order issue (tmpfs + zfs) HOT 3
- SWAP option to set boot.resumeDevice HOT 1
- `diskoScript` depends on `bash` but does not add it to PATH HOT 2
- Support for BTRFS subvolumes to be created but not mounted HOT 2
- Unclear how to use disko with LUKS + keyfile on usb stick configuration HOT 3
- swapon --show : wrong device HOT 12
- Support for โin-placeโ updates? HOT 7
- error: attribute 'disks' missing HOT 5
- ZFS features support HOT 25
- Specifying raidintegrity doesn't load required kernel modules
- Use a dummy LUKS key file in installTest HOT 2
- 140edd2 breaks btrfs subvolumes needed for boot on my machine HOT 5
- Need help for a strange issue HOT 2
- Can't rollback zfs dataset before mounting drives HOT 3
- Support clearing partition data before creation for GPT type HOT 3
- Why is `keyFile` deprecated? HOT 3
- Flake checks are broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from disko.