LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-23-2009, 10:03 PM   #1
plebetan
Member
 
Registered: Jan 2009
Posts: 31

Rep: Reputation: 15
whats up with sharing my windows directory?


when i installed ubuntu, it asked me if i wanted to make the documents for any of my windows accounts available from linux. most distros just give the option to put the windows partition into fstab, so i was curious about this feature. i selected my main windows account and now my home directory has the "My Documents" files from the windows account that i selected. i'm curious as to how this is implemented, since my windows partition doesn't seem to be mounted.
 
Old 01-23-2009, 11:50 PM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
I expect the installer mounted your windows partition and copied the files during installation, before you even booted the new install for the first time.
 
Old 01-24-2009, 03:25 AM   #3
Red_Shadow
LQ Newbie
 
Registered: Jan 2009
Distribution: Debian & SourceMage
Posts: 9

Rep: Reputation: 0
Well, this is another proof of Ubuntu's nasty tendency to hide things from the (l)users.
However, it must be mounted somewhere, or this couldn't work. Ubuntu simply decided - on your behalf - that the mounting didn't need fstab.

As to the implementation.. Windows also have something similar to $HOME, so we must assume your $OHOME is simply mounted directly unto that. Do you have access to the rest of the Windows partition?
 
Old 01-24-2009, 04:05 PM   #4
plebetan
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
lol, i just noticed that it somehow even grabbed my windows user icon(a snowflake) and is using it. when i run "mount" as root, i don't see sda1(my windows partition) mounted at all. the feature was called "sharing" account files or something, so i assume that it didn't just copy the files over, that would be pretty ridiculous imo. here is what mount looks like, i'm running the heron desktop version, 8.4.2 or something like that.
Code:
root@pzm:/home/pleb# mount
/dev/sda6 on / type ext3 (rw,relatime,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-23-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
gvfs-fuse-daemon on /home/pleb/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=pleb)
 
Old 01-24-2009, 06:46 PM   #5
plebetan
Member
 
Registered: Jan 2009
Posts: 31

Original Poster
Rep: Reputation: 15
wow, after some experimentation it seems like ubuntu did in fact just copy the contents of my "my documents" folder into my home directory. what a weird feature, i think maybe those ubuntu devs have been drinking too much coffee.
 
  


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
FC5 / Ubuntu home directory sharing without sharing session information cdhgee Fedora 1 07-26-2006 05:47 PM
K3B, DVD: mount : Not a directory - whats going on? dmoore0100-linuxqs Linux - General 12 07-25-2006 11:16 AM
All users can see whats in tmp directory? BajaNick Linux - Software 1 03-26-2005 10:38 AM
Whats the best file sharing package on linux neocookie Linux - Software 17 06-15-2004 10:57 AM
Sharing a windows directory under linux Wimpie22 Linux - Software 12 08-08-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:44 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