LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Use tune2fs, unmounted, BEFORE adding journal=writeback on fstab

Posted 01-30-2015 at 10:38 PM by the dsc (linux-related notes)
Updated 02-03-2015 at 10:00 PM by the dsc

The title says everything.

Can be fixed by booting with a live CD, though.

tune2fs /dev/sd<N> -o journal_data_writeback


Tune2fs' manual warns against doing something like that on a mounted device.
Member
Posted in Uncategorized
Views 165 Comments 0 the dsc is offline
Old

uuidfstab - Convert fstab contents to a format that uses UUID instead of /dev paths.

Posted 09-04-2012 at 09:09 PM by konsolebox
Updated 06-11-2015 at 02:31 PM by konsolebox
Tags bash, fstab, script, uuid

This script helps a user or admin to automatically convert items in fstab so that they would use UUIDs instead.

uuidfstab[.sh]
Code:
#!/bin/bash

function error {
	echo "$1" >&2
	exit 1
}

function show_usage_and_exit {
	error "Usage: $0 <path_to_fstab_file> [<new_fstab_file>]"
}

function process {
	local FSTABFILE=$1 NEWFSTABFILE=$2 LINE DEVICE TEMPFILE
...
Senior Member
Posted in Howtos
Views 740 Comments 0 konsolebox is offline

  



All times are GMT -5. The time now is 09:40 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration