Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix swap partitions missing from fstab
swap partitions get ID_FS_USAGE='other' instead of 'filesystem'. This change hands the filter for ID_FS_USAGE to grml-udev-rebuildfstab, to the point right before adding the new entries. This way cleanup should work always, and we get swap partitions, too.
- Loading branch information
Christian Hofstaedtler
committed
Dec 19, 2011
1 parent
20674b2
commit aeb66be
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# regenerate /etc/fstab for new/removed devices: | ||
ENV{ID_FS_USAGE}=="filesystem", ACTION=="add|change|remove", SUBSYSTEM=="block", RUN+="/etc/udev/scripts/grml-udev-rebuildfstab" | ||
ACTION=="add|change|remove", SUBSYSTEM=="block", RUN+="/etc/udev/scripts/grml-udev-rebuildfstab" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters