Tagged Questions

Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

0
votes
1answer
29 views

The “size” field in directory entry meaning for directories?

I'm looking at low-level directory structure of a disk partition, formatted as "vfat" filesystem. The directory entry structure I use is: struct __attribute__ ((packed)) Dentry { char ...
0
votes
0answers
15 views

SFTP Clients add Whitespaces to uploaded directories (12.04)

Ubuntu 12.04 I have several offsite users uploading files via SFTP. They're using Mac clients Transmit and Cyberduck and both programs seem to add whitespaces at the end of the directories they ...
0
votes
1answer
145 views

ERROR : [cat: File does not exist] I can't open hadoop output file in 14.04

I have installed hadoop-1.0.3 in my system(14.04), followed this tutorial. And I successfully run an sample mapreduce program for wordcount as follows, hadoopuser@arul-PC:/usr/local/hadoop$ ...
23
votes
3answers
2k views

Can I modify a bash script (.sh) file while it is running?

Suppose I have a script script.sh, which takes some time to execute. I execute it, ./script.sh. While it is running in a terminal window, I modify the file script.sh. Will this have any effect on the ...
2
votes
1answer
31 views

Different users with different encrypted workplace?

When installing Ubuntu there is an option to encrypt the workplace. Now for one user I would have an encrypted place. That´s fine, but what if I would like to add later a second user. For that user2 I ...
0
votes
0answers
30 views

what is the effect on an MP3 player used for install of Ubuntu?

When an .iso or .img file is copied with dd, what effect does that have on the USB stick? In this case, it's a 2GB mp3 player which, while not expensive to replace, I would like to use again for ...
0
votes
1answer
1k views

Mounting Disk Image in Raw format

While Trying to mount a disk image in Raw(dd) format using the following command mount nps-2010-emails.dd /media/manu/ I get the following error message mount: you must specify the filesystem ...
1
vote
1answer
151 views

“merging” multiple hardrives for Ubuntu 14.04 install

I have 3 hardrives inside my laptop 2 of which currently house other opperating systems but have a empty partitions of 8 and 9 gigabye and the third is just 12 gB (currently not partitioned at all). ...
0
votes
1answer
50 views

Why doesn't 'cp /user/local' work?

I was trying to copy a directory to /user/bin (on Ubuntu 12.04). I tells me that I cannot create directory ``/user/local' No such file or directory`. Where did I make a mistake? sudo cp -r ...
0
votes
0answers
366 views

Lubuntu 14.04 will not boot, saying “general error mounting filesystems”

My Lubuntu 14.04 worked since 14.04 was released, but after I tried to mount a Lubuntu .iso in the computer it began to get strange while booting. First, it went to the Lubuntu logo and said ...
0
votes
0answers
22 views

where are mounted files located after “connecting to server” over ftp

I've seen this asked about windows mounts here and MTP here, but to where should i browse inside terminal if i "Connect to Server..." over FTP? thanks in advance!
0
votes
2answers
31 views

Moving a Subdirectory folder and its file to a new partition

Please take a look into my partition :) I still don't know how to move the folder that mounted on old partition this is the screenshot I've to insert a new HDD to it, so the folder ...
0
votes
0answers
25 views

Recovering encrypfs Encrypted Home from LiveCD [duplicate]

Background: I have this laptop that I installed ubuntu on a while ago, I think it was lucid lynx? I am currently more updated and on 12.04. Anyway at that point I didn't know the first thing about ...
0
votes
1answer
28 views

Virtual filesystem acting as a clone+difference of a master filesystem

At my company about 10 devs share an ubuntu dev server. We have separate code directories, but due to our database size (about 50 GB), it isn't practical to clone the mysql database for each ...
1
vote
2answers
68 views

Does fsck keep existing files?

This is a rather dumb question but my googling didn't give me any direct anwser. So I have a computer which ubuntu (12.04) filesystem has gone corrupted. Now I want to try to repair it with fsck from ...
0
votes
2answers
162 views

Is it safe to alias rm to safe-rm?

We are happy to use safe-rm as a replacement to rm, but is it considered safe to alias it? e.g. alias rm='safe-rm'
0
votes
1answer
48 views

Files being wiped by cloud storage services

When I move and rename files using Ubuntu One or Grive Tools, using an SSD, sometimes clients doesn't catch the change properly and delete or make to reappear missing folders. Why it could be that?
0
votes
1answer
81 views

I executed 'dd' on my /dev/sda and now I get “unknown filesystem” error

Yes, I know this error has been answered and solved many times; but I think I know the reason why this is happening (my bad), I just don't know how to solve it. I was formatting and flashing some USB ...
0
votes
0answers
16 views

Transfering files over from a windows mounted to ubuntu

I've mounted the windows partition via mount. I can access my files and look through them all, but when I try to transfer all the pictures only about 1000 transfer before it starts saying it is a ...
0
votes
1answer
75 views

How to unmount a USB flash drive (that is shared over SAMBA) without having to turn off SAMBA first?

I have a USB drive that is shared over the network via a SAMBA share. This is because the contents are to be managed by a remote user. Now, there is a local user with physical access to the USB ...
0
votes
1answer
103 views

Ubuntu Server does not detect RAID HDD

I have formatted in a low level the hard disks of my computer. When I try to install Ubuntu Server I get this error message: [!!] Partition disks No root file system No root file system is defined. ...
0
votes
1answer
165 views

How to check if my installation of Ubuntu is alright?

I recently changed the size of the partition that contained my Ubuntu installation using Gparted from a live CD. I also moved it from one place to another. It was my first time and I hit the cancel ...
2
votes
1answer
53 views

Can't change the access time of a file

i cant change the access time of any file i create. i tried the touch -a, touch -ad, touch -t commands, but the access time in the stat utility stays the same. Can you please help me to modify the ...
3
votes
2answers
244 views

Is there any way, to make Ubuntu resistant to corruption of data?

I was using Ubuntu 14.04 when due to power interruption, my computer was shut down. On reboot, it was corrupted and I lost all my data.I want to reinstall Ubuntu again, is there any way,other than ...
0
votes
0answers
79 views

How to install all Gparted file systems?

When I open my Gparted and go to View -> File system support, I get this: How to remove all crosses and get all check marks instead, or in other words, how to install all missing file system ...
1
vote
0answers
79 views

Accidentaly formatted boot partition

I accidentally formatted the partition that contained the GRUB loader, so I cannot boot into Ubuntu 14.04 LTS. Background to the saga: I have an iMac with OSX and Ubuntu 14.04 LTS installed side by ...
0
votes
0answers
38 views

Install on a large btrfs partition with two sub volumes

I have a computer with a large btrfs partition containing two sub volumes / and /home. They are both compressed. There's also a separate swap partition. the /home partition has data on it and I hoping ...
17
votes
2answers
2k views

How to find the creation time of a file?

I need to find the creation time of a file, when I read some article about this issue, all mentioned that there is no solution like Site1, Site2. When I tried stat command it state Birth: - So how ...
0
votes
1answer
42 views

Can I install ubuntu 12.04 lts using ubuntu 14.04 lts trail version?

So my ubuntu 12.04 files are corrupted so i got ubuntu 14.04 on a flash drive and I am currently booting using the drive. So I was wondering is there and way by which I can reinstall ubuntu 12.04 lts ...
3
votes
1answer
134 views

How to edit a protected file if I have no direct access to the filesystem?

I changed the brightness of my machine by editing the /etc/rc.local file and adding this line echo 10 > /sys/class/backlight/nv_backlight/brightness before exit 0. After reboot I can see that it ...
1
vote
1answer
89 views

Hardlink count inconsistent with matching files

On searching for files that have hardlinks on my Portable HDD using the following command: $ find . ! -type d -links +1 -ls | sort -n I get an output of the following form (there are hundreds of ...
2
votes
1answer
75 views

Why does it take a long time to open certain small text files in Vim?

Why does it take a long time to open certain config files accessible only to superuser in Vim? For example: $ sudo vim /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla It takes ...
0
votes
2answers
377 views

Can I Recover Firefox and Tor Bookmarks?

I will be going back to Windows, because after months of dealing with Linux, I realized it's not for me. In short, right now Linux won't present the login screen. There are things I want to save ...
-1
votes
1answer
99 views

Accidentally deleted etc/fstab [duplicate]

etc/fstab accidentally edited or deleted, I don't know. Please someone help me to solve this. I am new to Ubuntu. General error mounting filesystem. A maintenance shell will now be started. CONTROL-D ...
0
votes
2answers
225 views

What type of partition table and file system is required to make a live usb?

I see a bunch of stuff on using usb-creator to make a live usb for ubuntu which is great. What I don't see is what type of partition table and file system is required on the USB itself. Does it ...
0
votes
2answers
189 views

How can I create a bootable USB from an ISO image?

I'm trying to make a bootable USB drive from an ISO file. I have been trying with WinUSB. In the WinUSB graphical interface my USB drive is not showing up, even though it auto mounts. So I'm trying to ...
3
votes
2answers
665 views

Broken /boot partition: input/output error

The Problem The issue I am facing is that I get the following error on boot, after I select Ubuntu in GRUB: Error: File "/vmlinuz-3.13.0-24-generic.efi.signed" not found. unaligned pointer ...
0
votes
1answer
101 views

plenty free inodes yet cannot write to disk

I have a 1TB ext4 SSD mounted as data drive on ubuntu server 12.04. I use it to store files and noticed that @55% use I cannot add any new files/folders (get 'no space left on device' error message). ...
0
votes
1answer
662 views

Gradle using terminal with Android Studio install on Ubuntu 12.04

Can not get the terminal commands to work with gradle. I trying to get Gradle to work outside of Android Studio as a prelude to scripting up various flavors of my app. I got the flavors to build ...
0
votes
0answers
39 views

Partition mounts by “mount” command but not using the “Disks” utility

I am facing a weird problem. I formatted a partition in my hard-drive with ext4 filesystem. When I mount it using the sudo mount /dev/sda9 /media/sda9/ command it mounts fine. However, when I use the ...
1
vote
2answers
141 views

How to find configuration files?

I know that the /etc folder handles different configuration files, but how does one know where the configuration files of a service (iscsi target for example) are located ?
0
votes
1answer
31 views

Limit the size of a folder

Okay, so I was looking into doing a bit of web hosting, and was wondering how I would put a max storage limit on a folder, so that there can't be more than say 5GB in the one particular folder. I've ...
0
votes
2answers
36 views

Windows 7 dual-boot Linux

I have a Windows 7 and I want to install Ubuntu. If i choose the option to install alongside with Windows 7, where's Ubuntu going to be installed. Is it going to be at my C: (System partition) or ...
1
vote
0answers
276 views

Strange output of btrfs fi df after converting from RAID0 to RAID1

I just converted my 3 disk btrfs filesystem from RAID0 to RAID1 and balanced it. At first the data was all in the RAID0 filesystem, so running btrfs filesystem df showed something like this: (XX are ...
1
vote
1answer
624 views

Ext4 larger than 16TB is stable for production systems? [closed]

Ext4 seems to have had a size limit of 16TB due to e2fsprogs. But e2fsprogs 1.42 release says it supports filesystem larger than 16TB. So, Ubuntu 12.04's current e2fsprogs' version is 1.42, and I ...
0
votes
0answers
19 views

Error: Unknown Filesystem Can't Boot anything

I was on Ubuntu 12.04.4 32 bit and got an error when I tried to add the ppa for Opera and ever since then I had kept getting an error where I couldn't use the built in software manager. I tried to ...
1
vote
0answers
22 views

KVM image size has changed?

We had a 180GB VM image. Inside the guest VM everything is OK and hdd size is 180G. but when we look the image size on the host it is 475MB. I am afraid that if we restart, the VM wouldn't work. I ...
1
vote
0answers
22 views

Detect file size decrease

I am saving streams from browser cache into my home folder. I wrote a script that takes the specific data type and saves them into disk, and names them as data.1, data.2 , data.3 and so on, creating ...
2
votes
3answers
293 views

In which drive my data is getting stored in Ubuntu

I have Windows 7 on my system. On starting PC, it asks me to select Windows 7 or Ubuntu 12.04. In windows, I have 3 parts, Drive C,D,J. When I open Ubuntu, I have category named "Devices". In that, ...
1
vote
0answers
25 views

Ubuntu File Appearing As Directory

I have this php file that somehow is showing as a directory. It still has a php extension but when I cd the file I get: base: cd: satisfaction.php: Input/output error When I vim the file it looks ...