Giter VIP home page Giter VIP logo

Comments (6)

Mic92 avatar Mic92 commented on May 24, 2024 1

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.

Baitinq avatar Baitinq commented on May 24, 2024

I'll implement this as soon as #27 is merged

from disko.

Mic92 avatar Mic92 commented on May 24, 2024

I think #27 also add create options for mkfs to make this feasible.

from disko.

Baitinq avatar Baitinq commented on May 24, 2024

@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.

yajo avatar yajo commented on May 24, 2024

According to #30 (comment), a workaround for disk labeling is to use a GPT table and set the label as part-type.

from disko.

Lassulus avatar Lassulus commented on May 24, 2024

This was done in #31

from disko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.