LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2016, 09:19 AM   #1
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
useradd to automatically create btrfs subvolume


Hi,

Is there any way that useradd can be coerced to create a new btrfs subvolume for the new user instead of simply a new directory?
As of now I do it 'manually' :
create subvolume, copy /etc/skel stuff, create user, chown subvolume.
Wrapping useradd in a custom script is an option too, but is not preferred.

Thanks.

Serafean.
 
  


Reply

Tags
btrfs, useradd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
btrfs root subvolume is inside the home subvolume and need to delete home subvol lemonade Slackware 3 10-29-2015 07:56 AM
Is mkinitrd with Btrfs root subvolume still broken? ldepandis Slackware 0 09-12-2015 05:45 PM
Problems with /home mount on a btrfs subvolume - systemd exvor Gentoo 1 06-19-2015 11:19 AM
install with BTRFS: subvolume/partition scheme? horizonbrave Linux - Newbie 5 01-05-2015 08:35 AM
btrfs subvolume quota phil.d.g Linux - Software 0 08-29-2011 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 PM.

Main Menu
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
Open Source Consulting | Domain Registration