[Bug 1108327] [NEW] ubuntu folder not created on a disk made by usb-creator
Brian Murray
brian at ubuntu.com
Mon Jan 28 23:13:51 UTC 2013
Public bug reported:
On a usb stick that I created with usb-creator there was no "ubuntu"
folder, subsequently update-notifier did not detect this as a volume
with packages on it. However, if I dd a .iso file to a partition on my
usb stick the "ubuntu" folder, actually a symlink to ., is created.
Here is the relevant checking code from update-notifier:
check_mount_point_for_packages (const char *mount_point, gpointer data)
{
if (!mount_point)
return;
//g_print("checking mount point %s\n", p);
char *ubuntu_dir = g_strdup_printf("%s/ubuntu",mount_point);
char *cdromupgrade = g_strdup_printf("%s/cdromupgrade",mount_point);
char *aptoncd_file = g_strdup_printf("%s/aptoncd.info",mount_point);
if(! (g_file_test (ubuntu_dir, G_FILE_TEST_IS_SYMLINK) ||
g_file_test (cdromupgrade, G_FILE_TEST_EXISTS) ||
g_file_test (aptoncd_file, G_FILE_TEST_IS_REGULAR) )) {
g_free(ubuntu_dir);
g_free(cdromupgrade);
g_free(aptoncd_file);
return;
}
g_free(ubuntu_dir);
g_free(cdromupgrade);
g_free(aptoncd_file);
** Affects: usb-creator (Ubuntu)
Importance: Medium
Status: New
** Tags: raring
** Changed in: usb-creator (Ubuntu)
Importance: Undecided => Medium
** Summary changed:
- ubuntu folder not created on a disk made usb-creator
+ ubuntu folder not created on a disk made by usb-creator
** Tags added: raring
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1108327
Title:
ubuntu folder not created on a disk made by usb-creator
Status in “usb-creator” package in Ubuntu:
New
Bug description:
On a usb stick that I created with usb-creator there was no "ubuntu"
folder, subsequently update-notifier did not detect this as a volume
with packages on it. However, if I dd a .iso file to a partition on
my usb stick the "ubuntu" folder, actually a symlink to ., is created.
Here is the relevant checking code from update-notifier:
check_mount_point_for_packages (const char *mount_point, gpointer data)
{
if (!mount_point)
return;
//g_print("checking mount point %s\n", p);
char *ubuntu_dir = g_strdup_printf("%s/ubuntu",mount_point);
char *cdromupgrade = g_strdup_printf("%s/cdromupgrade",mount_point);
char *aptoncd_file = g_strdup_printf("%s/aptoncd.info",mount_point);
if(! (g_file_test (ubuntu_dir, G_FILE_TEST_IS_SYMLINK) ||
g_file_test (cdromupgrade, G_FILE_TEST_EXISTS) ||
g_file_test (aptoncd_file, G_FILE_TEST_IS_REGULAR) )) {
g_free(ubuntu_dir);
g_free(cdromupgrade);
g_free(aptoncd_file);
return;
}
g_free(ubuntu_dir);
g_free(cdromupgrade);
g_free(aptoncd_file);
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1108327/+subscriptions
More information about the foundations-bugs
mailing list