LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2010, 10:35 AM   #1
dactyl
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Adjusting the size of a directory


I have a 4gb USB thumb drive with Ubantu 9 on it and it looks like I have over 3gb free but I only have 4mb free in the documents Directory. How do I increase the size of the directory so I can add my Doc files?
 
Old 09-28-2010, 11:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't change the size of a directory, it's just as big as whatever is in it. It would be the underlying filesystem that has a fixed size. What partition layour and filesystem are you using? Generally you'd use a tool like parted to resize a partition and the resize2fs to resize the filesystem within the partition but as this is on a USB stick it would most likely be trickier. can you post the partition layout details of the stick and other useful information?
 
Old 09-28-2010, 11:59 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What are you look at that tells you that you only have 4mb free in Documents?

Do you have quotas set up for users?
 
Old 09-28-2010, 04:40 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Originally Posted by dactyl View Post
I have a 4gb USB thumb drive with Ubantu 9 on it and it looks like I have over 3gb free but I only have 4mb free in the documents Directory. How do I increase the size of the directory so I can add my Doc files?
When you(?) created the ubuntu installation to the bootable thumb drive, you(?) were asked how much spare space you would like to allocate to "Documents & settings" ( = and other software you might like to install). Perhaps the figure originally chosen was, in retrospect, too small.

This space is generally called "persistent storage" for bootable USB sticks. They used not to have the ability to save anything at all between re-boots, so this is an improvement.

If you set this figure too low when the stick was created, you will not have much space to play with (Eg only 4MB, when you could have made it larger, within the limits of the FAT32 filesystem the stick uses).

I am not sure how you can increase this space (without starting afresh), but I hope I have given you some useful search terms.
 
  


Reply



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
Problem with Adjusting ToolChain.... sed: can't read >: No such file or directory lfs_rocks Linux From Scratch 4 03-08-2009 10:30 AM
directory size includes size of .. leostar_10 Linux - Newbie 4 12-03-2007 04:12 PM
Adjusting Partition Size Linux31 Ubuntu 4 07-31-2006 10:44 AM
adjusting the size of a web page mrobertson Programming 1 08-10-2005 08:50 AM
Directory Size Helixx Linux - General 1 04-27-2001 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 AM.

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